<%@ page contentType="text/html;charset=UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
<head>
    <meta charset="UTF-8"/>
</head>
<body>
<%--<h2>String类型传参</h2>
<form action="/ruser/addUser" method="post">
    请输入您的账号：<input type="text" name="name"/><br>
    &lt;%&ndash;         如果说这个地方，后端配置了@RequestParam 你又删掉了password 则会报错400   &ndash;%&gt;
    请输入您的密码：<input type="password" name="password"/><br>
    请输入验证码：<input type="number" name="verificationCode">
    <button>提交</button>
</form>--%>
<form action="<c:url value='/uploadFile'/>" method="post" enctype="multipart/form-data">
    <input type="file" name="multipartFile"/>
    <input type="submit" value="上传"/>
</form>

<form action="<c:url value='/download'/>" method="post" enctype="multipart/form-data">
    请输入名：<input type="text" name="multipartFile"/>
    <input type="submit" value="下载"/>
</form>
</body>
</html>